package com.ws.game.lesson4.basic
{
	import com.ws.game.common.framework.BaseCtrl;
	import com.ws.game.common.utils.PartType;
	import com.ws.game.common.global.Global;
	import com.ws.game.lesson3.fire.FaceObject;
	import mx.controls.Alert;
	
	import flash.display.Sprite;
	
	public class Basic extends FaceObject
	{
		public function Basic(aCtrl:BaseCtrl, face:Sprite)
		{
			super(aCtrl, face);
			this._part = PartType.PLAYER;
		}
		
		override public function dispose():void{
			super.dispose();
			Global.scene.removeGameObject(this);
			Global.basic = null;
			Alert.show("You are fail!");
		}
	}
}